package com.sdy.hospitalguard.biz.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author: 王越洋
 * @version: v1.0
 * @description: com.sdy.hospitalguard.biz.dto
 * @date:2020/5/21
 */
public class VisitApplyDTO {
    @ApiModelProperty(value = "消息表ID")
    private Integer id;
    @ApiModelProperty(value = "患者UserID")
    private Integer patientId;
    @ApiModelProperty(value = "探视表ID")
    private Integer visitId;
    @ApiModelProperty(value = "探视者UserID")
    private Integer userId;
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
    @ApiModelProperty(value = "探视者姓名")
    private String visitName;
    @ApiModelProperty(value = "探视者手机号")
    private String visitPhone;
//    @ApiModelProperty(value = "患者床位号")
//    private String visitPhone;
    @ApiModelProperty(value = "预约日期")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT)
    private Date visitDate;
    @ApiModelProperty(value = "预约开始探视时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date visitStartTime;
    @ApiModelProperty(value = "预约探视结束时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date visitEndTime;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;
}
